package com.hznu.jspFinal.service;

import com.hznu.jspFinal.entity.Composepaper;
import com.hznu.jspFinal.entity.ExamPaper;
import com.hznu.jspFinal.entity.PaperExerTypeInfo;
import com.hznu.jspFinal.myBeans.ExamPaperBean;
import com.hznu.jspFinal.myBeans.Exercise;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * author:wp
 * time : 23:53 2018/06/16
 */
public interface ExamPaperService {

    int add(ExamPaper examPaper);

    void update(ExamPaper examPaper);

    void delete(Integer id);

    void setExerTypes(Integer examPaperId,List<PaperExerTypeInfo> paperExerTypeInfos);

    void addExerTypes(Integer examPaperId,List<PaperExerTypeInfo> paperExerTypeInfos);

    void addExer(Composepaper composepaper);

    ExamPaperBean findExamPaperDetailsById(Integer examPaperId);



}
